added resource folder, hg server config file and hg changegroup hook