Large refactor to be more of an importable library rather than a true boilerplate - see http://bp7.dev.area17.com/