service: added functionality for getting schedule