changed structure to match meteors documentation and added some more snippets