move code from loader.py to __init__.py
moved .gitignore to the root path.