clean up indentation, review control flow, review TDD
revert files back to command line app