added class checking
improved readme
removed class checks