Implemented 'tri codes' into matrix lib
Implemented admin mode using "tri codes"