New senior apartments transform vacant factory