Added more config options and started building mogodb adapter