add messages api and messages.json for storing messages that can be retrieved and rendered in jade templates