inlined interfaces to use common interface ToBeNumber<N> instead
extracted base class for number and moved common functions there
Inlined ExpectFactory's methods and removed the class! Can be added when needed instead.