Base template development

Cleanup of some syntax, simplified pull request content. Fixing various bits of the frontend.