Moved database functions into new namespace pkmnsim::database