Implemented generator of swift code

What abut prefix? I think it is not useful for Swift since we have namespaces in it.