add Bool and BitsInt to BigEndian
refactoring: Classes.hs