Restructuring
Auth\Base depends on Config
Add Template class
Fix bug in DB->insert()
Add DB->update() sugar
Refactoring
Add the MySQL DB class
Link to Config class
Validate user name instead of escaping it
Update DB methods used
On insert return lastInsertId
Use prepared statements for transactions
Don't quote column names in insert()