moved redbean setup to config