adding config module
some changes at server