Final code with final touch. Added features to store the extracted data in a sqlite database. Modified command line arguments to specify an output file or database name