Adding doubleBase file

Working layer control, but no interactive legend. See events methods.