add error handling
clean up app code a little
put back readme