Added beginning-of-binge code
Added dict inheritance and function copying

From snapshot, so some testing versions were lost
Added proper function wrapping suppport