Created snippets to load main user interface.