implement #nanobrain public API + simple doc