Reorg to cmd/lib structure add a sprite test