Add some documentation.
Merge branch 'dev' into refactor-routes
Move emitter to 'utils'.
Merge branch 'dev' into refactor-routes
Clean up some long lines.