Update application structure. Initialize resizecontext as needed for application