Max/task model

Add task models, migration, and controller.