Insert include
Write copyright
Make ruby_test and refactor
Use gen_call in gen_retval'
Remove redundant pattern match
Write test for gen_retval