Changed initialize method of TemplateController to only take two parameters
Beginning to add functionality to interface with a Rails project
More work on adding rails compatibility