Added extra methods.
Extensive refactoring with macro implementation. Added extra functions.
Version 0.1.2
Version 0.1.1
Added bit masks.