Added core messaging functionality and test pages