Combined server and code