scarlet server using OO