Cleaned up main.go cmdline args and db connection.