Create Server class to handle message storage