Added functions for changing to RUN mode and changing to STOP mode
Merge pull request #1 from patrick--/master

Added functions for changing to RUN mode and changing to STOP mode