added option to skip already downloaded files and initial work for multi platform