working prototype and added scheduled tasks
working