Fixed NOT gates, and organized views into just index.html file.