project hierarchy corrections + MainForm

program.java, thought.java and the newly added MainForm.java have been
organized into logical project/package structure.  The files are not in
a project folder, and need to imported as the default package into a
generic java project.