Setup of application structure.