Moved RO Wind code into a library