New client framework

Changes to the db connection
Escaping text into the DB
Simply and update

This is the current working version of the server stack with auto email
updates, etc