Move server into include and lib.