Refactored the way start-app and start-app-multi interact.
Implemented application reset function.
start-app now resets the state of a running application rather than
creating a new application.