Removed existing copy of the database library, moved out to external module and referenced