reorg dir structure
fixed test dir and added __init__.py files
formatted lines to len 80, print to stderr