Added controllers

Added controllers for pages.
Removed controller logic from logic.js
Initially added speach support.