Custom API setup using Express 4.x