loader refactored. Added nested loaders. v.2.0.0