Adding initial implementation of sketch.