Observermodebranch

The code for the observer mode feature is ready to be integrated in the master branch.