Moving MySQL specific code to separate file

Cleaning up the code and separating different functionalities. Also
added password salting and password encryption.
Removing unnecessary files
Using VSAA-style config
Removed mongoose from dependecies
Page text changes
Changed .gitignore to Node template