added classMapping functionality for Worker/Window cross-connection pseudo polymorphic association