move docopt stuff to main.py
add travis config