Implemented small parts of the API (basic downloading)