Max/task model

Add task models, migration, and controller. 
keep dis