Added middleware sample; Modified bin start script to include middleware;