controller, routes and generators work well, but intializer is broken