Information Theory from A Functional Viewpoint