App controller and model -> SailsJS