construct the structure of this app