Added class framework
added class framework - fixed typo