Added rudimentary animation and the BaseObject class