Added XML configurations support to schedule tasks

- Implemented code review comments
- Added XML configurations support to schedule tasks