Add DB-related code

* Add functions to create tables, insert and update data in mysql tables
* Add user model with basic functions findById, save and initTables
* Add initdb.js script for initializing database