restructure lockstore, create lockservice as rpc entry