Use same root path for server and hook file lookup
BREAKING CHANGE: Return created server from main method