Help text, initial spec, and some code cleanup