Added layers and extent parameters

Added querystring parameters for layers and extent.