Use OptionParser to read arguments, and connect to the database
Update README with usage