made the startup script more robust by copying the checks made in the gradle start script
Keep configuration files in the conf directory
keep bin scripts in the scripts directory