Add tasks.py with automated setup sketched out

Invoke seems a good way to automate deployment , the tasks.py file
defines necessary tasks. Currently the tasks don't fully work and need
lots of improvements.