Consolidated function generation
Consolidated contract context implementation
Changed translation to be more fluid
Added license headers to files that were missing them