Api restructure - v0.2

Moved api functions to bamboo namespace