Software Design using Design Pattern