add initial implementation of redis adapter