Added class DBHelper and implemented database schema.