Source codes for Pattern Oriented Software Architecture