server- another step

plus some --compilation errors