New Units Db Controller

Added a Units Db controller to deal with unit creation and management of
units to maintain a constant state across the prog. General clean up of
some files.