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