added command-line interface to servo controller