Add skelton for Task support
Move everything to lib/
Work in progress for Task support