get/create/getChildren/getStat functions are now synchronous

Removing the callback function to make the lib simpler to use.
v2.0.0