Improvements and fixes

Deleted unused files
Added support for scheduled works
Fixed function to get works
Updating code, fixes and improvements