creating database moved to separate class