better name for object
added fileresolver abstraction for better testability
addes first tests