A Functional Toolkit for Morphological and - Gallium