mote some common code to library
release application