building scheduele class
finished receiving schedule from service
added database
not tested yet