Relased version 1.2 library with updated docs & source

- Some bug fixed and refactored code