restructured the main python script into submodules (curently only makefile generation and wharfile actions)