[nim] #X Attempt at stablilising build. Using module for fake runs endpoint instead of using a class. Easier to test