renamed class Main to Example to match its nature