Creating a river plugin