Create Web & Terminal Main and refactor

- Create Web Main & Terminal Main
- Refactor message center
- Refactor main.rb
- Eliminate global variables from sinatra
- Pass variables through hidden fields in web views