Added layer addition. Encountered a bug though in which the layer new object could not be manipulated. work on later.