sort order of imports
make format calls pytnon2.6 compatible
add logging support w/ debug statements
normalize to double-quotes