re structured app