big refactoring
update example
move example
update readme
bump version
update exception class
use flask json