Added program setup and read / writes code generation