Hector based message store and context store implementation.

Made "1000" a constant and add a comment.