Class with main()