changed scheme structure and working server