moved classes to lib
started adding rspecs