Add timestamps to unit add/remove & base classes for xml metadata generation

and I think you meant "added" instead of "removed"