added a few comments and cleaned up a little some code
rebuild and docs