Basic service code generator