move specs to lib dir