made .result global
removed server folder