Adding support for input types and output

@alappe  I noticed there was no support for input_types and output for beaver. This is a rather important and useful. I have converged successfully against test-kitchen and all seems well. Thanks!