reconstruct server-side architecture and Express routing