clean up

Clean up the code and add some more documentation

Assignee Loading
Time tracking Loading