Move manipulation of api data into the profile module.
Add a cache to S3 command.