Added a basic user interface
It may not be pretty (especially those comboboxes), but it will do the job for now.
Formatted code using astyle