databaseConstructor implementation

Beginning implementation of the database Constructor. Currently lacking
file input cleansing but should work otherwise. Untested