Deletes all the excess accounting stuff from the application