Start of scheduler and cron
added more testing, worked on cron scheduler some more