Did some changes to the files

Changed main to a module named dbmanager, got rid of main function.
Created new file 'cli.py' to hold command line interface.