Added .gitignore for python
Moved lookup class to a separate module