Fixed netstartv for the old layout
Support the url way to specify the DB connection
Support the use of another environment variable to specify the DB connection
Added the script to test web connection
Added the script to test email sending
Changed to make the email body to send Unix-compliant
Added a general api key for miscellaneous use