created Numina library and moved a bunch of stuff to it