API changes to server (closes #14)