Tidy'd up

Moved all python files to libs (except main.py).