better names in api and function repository, readme updated