correcting class name error
correcting bugs, adding constructors