1. A method for transforming a procedural program having procedural language code into an object-oriented program, comprising: scanning the procedural language code and creating a map based on the scanned procedural language code; storing the scanned procedural language code as intermediate code; processing at least a segment of the procedural language code using the map; creating a first data structure using the processed segment; modifying the intermediate code based on the first data structure; and generating an object-oriented program having an object class based on the modified intermediate code.