made IRSystem into a singelton