add cardlibs library + relocate file