pass_gen: added ODF, cleaned up many commented out code blocks. Added some stubs