Refactor server to modularize server-router-db, and approach Angular integration.