Documentation

Comments, cleanup, etc