Add examples + make the project complient with dynamic library generation
Update README.md
Add tcmalloc optional dependency
Add default clause to switch