improve doc
code refactor
use classes
Release 0.0.2