feat: Add and test createFn methods
feat(targets): Changed module to use distribution target specification via CLI flag.