Used 21st century string methods, added __init__.py