implemented reading from stdin for pool create