Main code used for display, statistics... shared between projects