Roac takes the class for scripts in constructor

This allows for easier customization of the behaviour of the script
execution.