fixed and tuned build system
corrected loader.py