Create Functions and API basics