add support for Swift classes. Extract runtime to DTRuntimeHelper class.