updated to a rails engine

edit: forgot to fix the content of the controller (namespacing)