Reformat whole application