Submission API calls and GUI transitions.

Added API call to parseHTML() in submit button's click logic,
createdCallback function to call the AI and Visualizer/Grapher, and
adjusted the GUI transitions for the page.