Added optional launch arguments.

Index.js now accepts port and environment parameters. In production
environment, the server will log every important piece of information in
/logs/server.log, in development it will output everything in the
console. Also minified general.js.