creates application structure