create common primeComposer class