Clean up Sass and HTML code, export some functionality to global scope