added custom files support, refac + fix for source file loads + proper logging