Server fully rewritten in the standard express modular design