Refactored contexts into just one context for the whole server.

Simplifies code running.
WIP: Cron is still not done.
Cron works again.
Merge branch 'context'