add database model, now can access database by extend model class