move accessor to tools dir