Move definition of NoidAdapter class

The configure method was trying to use it before being defined.