Basic layout and hooks to api endpoints.