add PDBWriter to python wrapper
integrate Roger's bond-perception/assignment code