Some sample mongo code, more learning is requried