How to move iPhone music and other things to iCloud or something like it?

So I have the iPhone 4 and I see that it has iCloud. Well I'm almost out of memory on my phone. Couple of questions. Can I put all my music onto iCloud or something like iCloud so that it will stop taking up my actual phone memory? And if so… How?! It's infuriating. I want to have my music and still have apps or pictures and just other stuff.