Basic pool

Basic pool class implemented.