compiling server and client interfaces