Move the mappings to a separate module, and create a mini API to access it
from the main app.js