moved init_db.js into 'server' directory and improved configuration files loading