redesing format_kv_handler&add aof to rdb-parser