copied over all from Project 02
added more user friendly app reset
fixed a few bugs