Create pooling module

Still have an issue with the available inputs :(