Copied over back-ends from other branch, added template for single message view