Refactoring the code to provide an interactive command line tool.
Delete old unecessary files.