High level server use linked libraries

Please merge.
The solution is not perfect, I would prefer to instanciate classes than using functions. But this is the least effort solution for now.
I want fo focus on adding tests and windows port
The goal og this change is to link libraries instead of using dload, thus improve code of highlevel Server object and add windows support. while stay compatible with plugin stuff. 
I