added GhostManager for handling object instances