finished implementing oer client in scala