Added classes to python pattern
Merge pull request #4 from saalaa/patch-1

Added classes to python pattern