implemented basic functionality

implemented fundamental functionality including event loop, basic
methods for kv, queue, hashmap and zset