move some files to lib dir