Scala/Java/No-SQL Instant Messenger that uses xml objects to pass information between client and server