added interface for storage and the ability to pass an instance to the Server constructor