js restructred to be able to concatenate it in one file
database scheme creation moved to server from init.sh script