Replace old syntax on the form partial to the most recent. Cleaned up routes file.
Refactor code on message controller, form partial and table display partial. Deleted unneccessary line on config/application.rb