Added offline messaging functionality. Still have to test memory impact