initial commit of loader.py