object detection test
code update

Few changes and code clean up.  More cleanup required.