changing application structure