remove script loader dependency from app class