modified init, added uninstall.sql template
modified init file for some install bug fixes