Restructured instruction code, made inner classes

Finished the CB instructions