Added download method to log a download.
Added the start of api work.