-removed boost dependency
-fixed mem leaks