Rearranged files to fit new layout.
Added twcli module that handles most of functions not related to main logic.
Changes in main script and setup file to match new version of api.