updated readme
receive configs parameter to set the classes.
use doctest
setup.py