Classes and main