Minor change
Moved bpb attributes to ctypes Structure
Removed bpb class completely

Use ctype structures instead
Fixed lint warnings