Completed code generation

Shitcode rules the world