Stolen from kra1o5 repositories
Little change
RIL class properly added