Vortex Physics In Layered Superconductors Of Finite Geometry