Simple download manager with java