Added functions API with basic documentation about how to use them