"Moved database logic to an oop design that handles Messages"