Updated start and stop; better logging. Single file, no external dependencies