Tasks generation

I've added basic task generation.