Added free text api function
Added more documentation regarding callbacks