added default configuartion
moved configuration to resource