Moved controller outside of the template and updated gh-pages