Clean up argument parsing

Use option -u for setting user name instead of first argument and make
-d and -u mandatory options.
Add copyright header comment in files
Add more command-line option in create db script
Change the version command-line output string and usage string