Reorganized project layout.  Added some utility methods for rest api, context vars, and template caching