Built out the create endpoint.