wired all the views togehter.