Branch of Brett Terpstra's Planter, with some changes.