Generate entire controller from erb, to handle IPAddr binary conversion.