Added $developmode to config.php
template->getTemplateLocation is no longer static