Documented IOpSys and reorganized it

IOpSys is now fully documented and the methods are better organized.