Added user-configurable menu generation.

Moved helpers down one level into def initialize to allow access from config.rb.