refactor minor changes

Added lodash to deps
removed commented out code in encode route
Fixed error in index view when processed videos not sent
Removed unnecesary vars from setup route
Removed 'files' option in nav menu
Simplified upload route

Upload route extremely simplified now. It contains basically no logic.
Application logic moved to server.js which is the 'server' application