Refactor lib structure and updated version
- refactor file and directory structure of the library, in
  order to match better best practicies
- updated version number
Changed require argument in example