Move functionality into a function
Rename to .py for Bento support
Add bento support
Ignore bento build directory