added crude user interface and miscellaneous updates