Code structure for chassi main program done