Had to change all unit objects to pointers to unit objects, cant declare an abstract class as an object