Working on modifying the REST server to work on a read only slave database.