Changes to wire up the application correctly.