Major changes in structure
-adapters no longer need to implement a class, because they are modules.
-add command line argument parse routine
-major changes in main program