Add a way to set sys path when starting the server
Refactor examples a bit
Use prefix to determine if we must follow defs