refactoring - remove object variables
removed dots from css class parameters
pass css class in options hash