adjusted many programs

added library and made new folder
Branch merge