Arnesh Agrawal

Results 2 issues of Arnesh Agrawal

This change required changes in other places of the code as well.

Adds interface for the scheduler. Once user token is used to identify the user, we can completely implement the scheduler.