fix cache capacity bug, fix waiting of finishing.
add submodules of stats settings and conns, add connection logging system, fix minor issues
add stats for connections and for items, fix minor issues for stats and for cache
add doc, change server struct to public