Changed structure.
No logic in PHP. Passing variables from hook menu. Using $variables from theme().