added atlas legend
namespaces + sorting
comments and shit