added peer dependencies
Added more config options