Refactoring scheduler
Refactoring Init Actions
Merge pull request #50 from mirrorcoder/master

Fix scheduler and init actions