Added some commenting to existing source files, and added a basis for sprinting functionality.