Change way to recognize database host and port
Commiting missing files
JS validation