added log file
fixed bug with http protocol not being detected
added sql install and uninstall files to create database during installation