added config default options and resolver