added code snippets and some fancy dojo stuff