Create intermediary.go

Added intermediary