Remove debug prints
Add helper funcs for processing files to App class.
Add stdout/file logging.
Improve error handling.