factor action execution out into solver method
drwxr-xr-x lib
drwxr-xr-x t