adds tags and layers constants. adds comments