Sorted server code to ensure a good execution order of commands.
Fully implemented service support, with hardware dependency.