Move WindowListener into view
Start adding templating system