Streamlined the SQLite code, added method to open database and create a transactions table.