Begin API models and endpoints