An autonomic and goal-oriented cloud architecture