add types on models, and controllers