Add setup.py, alib/test.py etc.
For refactoring, add files from jfine-2014 rev:102d45e034747700f708d0a195b8e8d1ac548e61.