New server interface that uses structs