exit if no sources
moving loader callback method as a class method
:wrench: build