implemented the command to generate a page
implemented the generator to create snippets