add spray lib and ServiceBase