Add text constants to layout_controller

Fixes #40