How to write Networking Layer in Swift (2nd version)

@