move some class to libcameraservice.