show how to compose application structure