WIP: separated action (command) impls to a lib