moved cloud stuff into its own file & class to make the code easier to work with