Delete old files and add libraries