Refactor and comment

Shorten namespaces for readability. Add documentation to the
SimpleTaskScheduler class to provide some basic understanding.