Added configurable chunk size

Added configurable chunk size to split download into
Structure change

minor structure change to make getter class re-usable