Added Interface for Schedulers and Template for FIFO scheduling.
Add a usage of scheduler.