A word of warning, not to discourage your open source and learning efforts, but a project of sorts may already exist. I've used meebo.com in the past and it holds functionality similar to what you just suggested. Its generally not a good idea to start an open source project if a similar one has already gotten the job done. However, you may just create something superior!