Correct sytax for externally defined variables

export.var = value
Disconnect function and MYSQL requirement
Define database connection
Introduce Knockout