Rewrites program in class structure
Rewrites program in class structure