Added doc to API + Bugfix

Added rapid documentation to the Starbook API and fixed a mistake,
errorly named function.