move base classes to WCFoundation framework