Restructured examples directory into cmd.