code updated

Moving the contents of the index page for my custom element.