added file responsible for accessing api