Scheduling and common service interfaces added

Added scheduling and common service interfaces along with minor
refactoring