feat: Add and test createFn methods
feat(targets): Adding support for specifying targets on the command line