pep8
use new-style classes
fix curly braces encoding in links