scafolding main class