Cleanup

Removed additional fake latency
Pulled logic to get messages into a separate file
Changed index route to send messages as initial data