renamed setDatabase to initialize database to signal the function is not
a setter