database class started