How to create a block from points and curves in order to move them together?

something like this?