Remove defaults object extension in constructor, store provided options only
Start writing resolve method. Rename exported functions and tests.