added some comments for rdoc
Restructured project to have lib, markup, and test directories, and moved existing files in there as need be.