moving library source code into library folder