controllers and models as modules