A new method for creating grid abstractions for complex configurations