added partial actory design paatern to exercise files