resolver: add initial framework of what this might look like

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>