Main CLASS file