Implemented FBA code generation