Towards goal-oriented development of self-adaptive systems