Merge pull request #43 from denniszhuo/master

Updated lib and command line application
controller:lib: Updated End Station internal state machine to read one
top level descriptor type at a time and wait for the responses for
the commands sent.