Basic setup of hook server