Main structure of applications