renamed server app module to avoid cycles
refactored to make initial data loading and serving clearly separated
made server compile again