database and schedule model

added more database schedule structure.