Tasks controller/model work
Added warnings. Changed model