moving source codes to library folder