Adding before and after input methods to the repl to start and close the
asset server.