Move HTML form UI to _ui app. Refactor models a bit.