begin separating server-side config from client-side logic