Create base structure and API.