How to create multiple libraries and classes at one time

I would like to know if there is a way to create multiple libraries, classes and attributes from a file (xml or excel). It seems there are not Web Services to create them.