Added inline documentation to both source files; much more ready to gut and implement better heirarchical structure now that everything is tagged, at least...