a bunch of sql and template to implement and deploy a pkg easiliy and with coherence