Add class to process common command line options for programs utilizing hftree trees

Add trivial class to handle GUI events
Add main programs to work with hftree trees