Set up main class skeleton