source code added

library source code moved from Shop