added tags, added secret keys. TODO: finish tagging features