Relocated public method for organisational purposes
Filled out public set method stub with relevant components of private set method contents
Converted item_details method to use new public set method
Adjusted location of checking for user name and API key in light of new public set method, also added setter methods for user name and API key