removed constants from controller to initializer
added templates to config
fixed constants in application controller