Add support for hatchery

fixes #61