Electronic Structure and Properties of Layered Structures