Implemented SQLite database and restructured the code for receiving a
file list as an object.