Added tables.py, which creates, accesses, and adds to the database.