add siteController and errorHandler to server
add errorHandler and siteController