added some library source files