fix start
code cleanup
documentation and cleanup