Removed UndoRedoManager calls as it was getting in the way of development. Will add it back in when it's needed. Also reworked the database layer and implemented functionality for changing the database connection at runtime.