added op for pooling

Basically adds pooling to the supported ops.
Better, do an init that assert the props values are valid.