Start migrating the gui to the new statistics classes