cleaning up class attrs as fn while still being able to access primary features via layer id; also added a handy selector that can be used to select specific classes or any selector we want