refactor download method to Stock class