Added FindObjectsOfType functionality.
Moving static variables into the singleton pattern (yuck but Unity API uses them)