Add scheduler and rake tasks