Started implementing freetext-in-code-questions. Some refactoring, introduction of bette menu structure.