added class allowing to use page controllers, settings template file added