Implemented plugin system for the Database struct
Change name of core database