Generated tasks model
Added basic task functionality