Design pattern library