successfully writes everything it's supposed to to a database
fixed the readme and added command line options