Merge pull request #7 from sashafrey/master

Simplify python interface