Ported to Python3. Bump version to 0.3.0