Fabrication, Characterization, Physics, and Applications of Functional Thin Films with particular emphasis on magnetic thin films