added srcpath to parseUri and automatic worker loading