move specs to spec/lib .
remove unnecessary dependencies.