A layered architecture to manage complex multimedia services