Optimized some stuff

Do not export anything from local namespace.
Resolve local and remote files lists in parallel.
Proper use of interfaces.

That's better.