Added example module and some notes on writing modules