rewrite implementation of relative paths in module_loader, other same bugs fixes, capsule module test now is working