move database initialisation queries to dedicated function
remove /node_modules as all modules will be installed automatically
fix callback call mistake ("err" instead of "error")
execute queries as callbacks for connection method
fix mistype
rearrange connection handling
disable state test code for testing